﻿using Microsoft.AspNetCore.Mvc;
using SimpleInOutControl.Attributes;
using SimpleInOutControl.Common;
using SimpleInOutControl.DBModels;

namespace SimpleInOutControl.Services
{
    public class CommunicationService: BaseService
    {
        CommunicationService service = new CommunicationService();

        [HttpPost]
        [NoLogin]
        public ResponseResult<bool> AddData(PersonInfo dto)
        {
            //var result = service.AddData(dto);
            //return new ResponseResult<bool>()
            //{
            //    Code = result ? 0 : 1,
            //    Message = result ? "成功" : "失败",
            //    Result = result
            //};
            return null;
        }
    }
}
